package com.eshop.modules.activity.vo;

import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(value = "YxStoreBargainUserHelpQueryVo对象", description = "砍价用户帮助表查询参数")
public class StoreBargainUserHelpQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("砍价用户帮助表ID")
    private Long id;
    @ApiModelProperty("帮助的用户id")
    private Long uid;
    @ApiModelProperty("砍价产品ID")
    private Long bargainId;
    @ApiModelProperty("用户参与砍价表id")
    private Long bargainUserId;
    @ApiModelProperty("帮助砍价多少金额")
    private BigDecimal price;
    private String nickname;
    private String avatar;
    
    public Long getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public Long getBargainId() {
        return this.bargainId;
    }
    
    public Long getBargainUserId() {
        return this.bargainUserId;
    }
    
    public BigDecimal getPrice() {
        return this.price;
    }
    
    public String getNickname() {
        return this.nickname;
    }
    
    public String getAvatar() {
        return this.avatar;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setBargainId(final Long bargainId) {
        this.bargainId = bargainId;
    }
    
    public void setBargainUserId(final Long bargainUserId) {
        this.bargainUserId = bargainUserId;
    }
    
    public void setPrice(final BigDecimal price) {
        this.price = price;
    }
    
    public void setNickname(final String nickname) {
        this.nickname = nickname;
    }
    
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreBargainUserHelpQueryVo)) {
            return false;
        }
        final StoreBargainUserHelpQueryVo other = (StoreBargainUserHelpQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$bargainId = this.getBargainId();
        final Object other$bargainId = other.getBargainId();
        Label_0139: {
            if (this$bargainId == null) {
                if (other$bargainId == null) {
                    break Label_0139;
                }
            }
            else if (this$bargainId.equals(other$bargainId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$bargainUserId = this.getBargainUserId();
        final Object other$bargainUserId = other.getBargainUserId();
        Label_0176: {
            if (this$bargainUserId == null) {
                if (other$bargainUserId == null) {
                    break Label_0176;
                }
            }
            else if (this$bargainUserId.equals(other$bargainUserId)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$price = this.getPrice();
        final Object other$price = other.getPrice();
        Label_0213: {
            if (this$price == null) {
                if (other$price == null) {
                    break Label_0213;
                }
            }
            else if (this$price.equals(other$price)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$nickname = this.getNickname();
        final Object other$nickname = other.getNickname();
        Label_0250: {
            if (this$nickname == null) {
                if (other$nickname == null) {
                    break Label_0250;
                }
            }
            else if (this$nickname.equals(other$nickname)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$avatar = this.getAvatar();
        final Object other$avatar = other.getAvatar();
        if (this$avatar == null) {
            if (other$avatar == null) {
                return true;
            }
        }
        else if (this$avatar.equals(other$avatar)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreBargainUserHelpQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $bargainId = this.getBargainId();
        result = result * 59 + (($bargainId == null) ? 43 : $bargainId.hashCode());
        final Object $bargainUserId = this.getBargainUserId();
        result = result * 59 + (($bargainUserId == null) ? 43 : $bargainUserId.hashCode());
        final Object $price = this.getPrice();
        result = result * 59 + (($price == null) ? 43 : $price.hashCode());
        final Object $nickname = this.getNickname();
        result = result * 59 + (($nickname == null) ? 43 : $nickname.hashCode());
        final Object $avatar = this.getAvatar();
        result = result * 59 + (($avatar == null) ? 43 : $avatar.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreBargainUserHelpQueryVo(id=" + this.getId() + ", uid=" + this.getUid() + ", bargainId=" + this.getBargainId() + ", bargainUserId=" + this.getBargainUserId() + ", price=" + this.getPrice() + ", nickname=" + this.getNickname() + ", avatar=" + this.getAvatar() + ")";
    }
}
